<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
   "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
    xmlns:ui="http://java.sun.com/jsf/facelets" 
    xmlns:f="http://java.sun.com/jsf/core" 
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:p="http://primefaces.org/ui">

	<h:head>
		<title>Eventt Controller</title>

        <link rel="shortcut icon" href="http://www.eventt.com.br/favicon.png" />
        <link rel="shortcut icon" href="http://www.eventt.com.br/favicon.png" type="image/x-icon"/>


		<style type="text/css">
				body {
                    padding-top: 20px;
                }
                .ui-layout-north {
                    z-index:20 !important;
                    overflow:visible !important;
                }
                .ui-layout-north .ui-layout-unit-content {
                    overflow:visible !important;
                }
                .ui-widget {  
	        		font-size: 12px !important;  
	    		}
	    		.panelSemBorda {
	    			border: none;
	    		}
	    		.red{
	    			background-color: #FF3333;
	    		}
	    		
	    		.yellow{
	    			background-color: #F0E68C;
	    		}
	    		.green{
	    			background-color: #90EE90;
	    		}
	    		.centro {
                    padding: 19px 29px 29px;
                    margin: 0 auto 20px;
                    background-color : transparent;
                    border: none;
                }
                .corMenu{
                	background-color: #FFE600;
                }
       </style>
    </h:head>
    
    <h:body>
    
        <p:layout fullPage="true">
        	<!-- CABEÇALHO -->
        	<h:form>
        	<p:layoutUnit id="header" position="north" size="50" styleClass="panelSemBorda centro">
        		<p:menubar styleClass="corMenu" >
        			<p:submenu label="Eventt Controller" >
        				<p:menuitem value="Início" url="/index.jsf" />
        				<p:menuitem value="Sobre" url="#" />
        			</p:submenu>
					
                    <p:submenu label="Anunciante" >
                        <p:menuitem value="Cadastrar" url="/jsf/anunciante/cadAnunciante.jsf" />
                        <p:menuitem value="Visualizar" url="/jsf/anunciante/visAnunciante.jsf" />
                    </p:submenu>

                    <p:submenu label="Ponto de Veiculação" >
                        <p:menuitem value="Cadastrar" url="/jsf/pdv/cadPDV.jsf" />
                        <p:menuitem value="Visualizar" url="/jsf/pdv/visPDV.jsf" />
                    </p:submenu>
                    
                    <p:submenu label="Controle de Caixa" >
                        <p:menuitem value="Cadastrar" url="/jsf/controleCaixa/cadControleCaixa.jsf" />
                        <p:menuitem value="Visualizar" url="/jsf/controleCaixa/visControleCaixa.jsf" />
                    </p:submenu>

                    <p:menuitem value="Visualização Geral" url="/jsf/visao-geral/visaoGeral.jsf" />

					<!-- 
                    <p:menuitem value="Controle Financeiro" url="#" />
					 -->

                    <f:facet name="options">
	                	<p:splitButton value="#{templateMB.cidade}" >  
							<p:menuitem value="Sair" url="/jsf/login/logout.jsf" style="margin-right:10px" />  
						</p:splitButton>
        			</f:facet>
        		</p:menubar>
        	</p:layoutUnit>
        	</h:form>
        	<!-- /CABEÇALHO -->
        	
        	<!-- CONTENT -->
        	<p:layoutUnit id="content" position="center" styleClass="panelSemBorda centro">
            	<ui:insert name="content">
            	</ui:insert>
            </p:layoutUnit>
            <!-- /CONTENT -->
            
        	<!-- RODAPÉ -->
        	<p:layoutUnit id="footer" position="south" size="20" styleClass="panelSemBorda" >
        			<h:outputText value="© Sistema desenvolvido por " />
        			<a href="http://www.funaction.com.br">Funaction</a>
        	</p:layoutUnit>
        	<!-- /RODAPÉ -->
        </p:layout>
    </h:body>
</html>